//
//  PaperCardView.h
//  ZYOnlineSchool
//
//  Created by 毕武侠 on 2017/2/27.
//  Copyright © 2017年 bwx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PaperCardCollectionView.h"


@interface PaperCardView : UIView <ViewSignalProtocol>

@property (nonatomic, assign) BOOL showTimerView;   // YES
@property (nonatomic, assign) BOOL showTopView;     // YES
@property (nonatomic, assign) BOOL showTitleView;   // YES
@property (nonatomic, assign) BOOL showCollectView; // YES
@property (nonatomic, assign) BOOL showSendView;    // YES

@property (nonatomic, assign) BOOL isInit;          // NO
@property (nonatomic, assign) BOOL didHidden;       // NO

/** 试卷要求作答最大时间 */
@property (nonatomic, assign) NSUInteger surplus;

@property (strong, nonatomic) PaperCardCollectionView *collectionView;




- (void)setSourceDatas:(NSMutableArray *)sourceData;

- (void)updateView;

- (void)showWithAnimation:(BOOL)animation withTime:(NSUInteger)time;
- (void)showWithAnimation:(BOOL)animation;

- (void)hiddenWithAnimation:(BOOL)animation;

- (void)endTimer;
- (void)startTimer;
//@property (nonatomic, strong, readonly) RACSubject *submitSubject_;
@end
